package dome2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2024-05-22
 * Time: 21:47
 */
public class Tri extends Shape{
//    public double a;
//    public double b;
//    public double c;

    public Tri(/*double a, double b, double c,*/double area, double cir) {
        super(area, cir);
//        this.a = a;
//        this.b = b;
//        this.c = c;
    }
    @Override
    public void draw() {
        System.out.println("画一个面积为 " + this.area +" 周长为 "+ this.cir+ "的三角形...");
    }

//    public void fold() {
//        System.out.println("fold()被执行了...");
//    }
}
